package com.googlecode.chigscommons.web.plugin.mail;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

import com.googlecode.chigscommons.web.plugin.ServicePlugin;

public class MailPlugin implements ServicePlugin {
	@Override
	public String getName() {
		return "Mailserver";
	}

	@Override
	public String getServiceType() {
		return "mail";
	}

	@Override
	public IModel<String> newServiceCaptionModel() {
		return new Model<String>("Mailserver");
	}

	@Override
	public Panel newServicePanel(String id) {
		return new MailPanel(id);
	}
}
